﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Brain
{
    public class Triangle
    {
        public Vector3 Vertex1;
        public Vector3 Vertex2;
        public Vector3 Vertex3;

        public Vector3 Normal;

        public int Index1;
        public int Index2;
        public int Index3;

        public Vector3 GetMidPoint()
        {
            return (Vertex1 + Vertex2 + Vertex3) / 3;
        }
    }
}
